home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 42
/
Amiga Format AFCD42 (Issue 126, Aug 1999).iso
/
-serious-
/
programming
/
other
/
jikes
/
src
/
bool.h
< prev
next >
Wrap
C/C++ Source or Header
|
1999-05-14
|
1KB
|
26 lines
// $Id: bool.h,v 1.3 1999/01/25 20:00:26 shields Exp $
//
// This software is subject to the terms of the IBM Jikes Compiler
// License Agreement available at the following URL:
// http://www.ibm.com/research/jikes.
// Copyright (C) 1996, 1998, International Business Machines Corporation
// and others. All Rights Reserved.
// You must accept the terms of that agreement to use this software.
//
#ifndef bool_INCLUDED
#define bool_INCLUDED
#ifndef TYPE_bool // Some compilers correctly predefine the primitive "bool" and its possible values: "false" and "true"
//======================================================================
// We define the type "bool" and the constants "false" and "true".
// The type bool as well as the constants false and true are expected
// to become standard C++. When that happens, these declarations should
// be removed.
//======================================================================
typedef int bool;
enum { false = 0, true = 1 };
#endif
#endif /* bool_INCLUDED */